package dao;

import utils.ReadProperties;

/**
 * 
 * Data for database connection
 *
 */
public class DBConnection {

	private static String URI = ReadProperties.URI;
	private static String user = ReadProperties.user;
	private static String password = ReadProperties.password;
		
	
	public static String getURI() {
		if(URI == null)
		{
			URI = "";
		}
		return URI;
	}
	public static void setURI(String uRI) {
		DBConnection.URI = uRI;
	}
	public static String getUser() {
		if(user == null)
		{
			user = "";
		}	
		return user;
	}
	public static void setUser(String user) {
		DBConnection.user = user;
	}
	public static String getPassword() {
		if(password == null)
		{
			password = "";
		}
		return password;
	}
	public static void setPassword(String password) {
		DBConnection.password = password;
	}
	
}
